package pub.guoxin.oops.analysis.service;

import org.apache.commons.codec.DecoderException;
import pub.guoxin.oops.model.Communication;
import pub.guoxin.oops.model.DeviceDataInfo;

import java.nio.charset.CharacterCodingException;
import java.util.List;

/**
 * Created by guoxin on 17-10-18.
 */
public interface DataAnalysisService {

    Communication analysisCommunicationData(String hexString) throws IllegalArgumentException, DecoderException, CharacterCodingException;
    List<DeviceDataInfo> analysisDeviceInfoData(String hexString) throws IllegalArgumentException, DecoderException, CharacterCodingException;
}
